package com.ruoyi.user.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 用户车辆对象 car_carinfo
 * 
 * @author ruoyi
 * @date 2025-05-20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CarCarinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆主键 */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long uid;

    /** 车型ID */
    @Excel(name = "车型ID")
    private Long typeId;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carNum;

    /** 删除状态 */
    private String deleted;

    /** 是否默认(1默认 0非默认) */
    @Excel(name = "是否默认(1默认 0非默认)")
    private Long defaultCar;

    //根据用户id查询用户信息
    private CarUser carUser;

    //根据车型id查询车型信息
    private CarType carType;

    //根据车辆品牌id查询品牌信息
    private CarBrand carBrand;


}
